<h1>Test Analysis</h1>

<table>
  <tr>
    <th>Test</th>
    <% @cof.each do |cof| %>
      <th><%= cof.name %></th>
    <% end %>
  </tr>

<% @results.each do |results| %>
  <tr>
    <td>TEST NAME</td>    
    <% @cof.each do |cof| %>
    <td><% results[cof.id].amount %></td>    
    <% end %>
  </tr>
<% end %>
</table>
